<template>
    <el-button type="primary" v-waves size="small" :disabled="disabled">
        <i class="iconfont icon-jiankong" v-show="showIcon" />{{ $t('状态') }}
    </el-button>
</template>

<script>
import waves from '@/directive/waves/index.js'
export default {
    name:'AddButtonIcon',
    props:{
        showIcon: {
            type: Boolean,
            default: true
        },
        disabled: {
            type: Boolean,
            default: false
        }
    },
    directives: {
        waves
    }
}
</script>

<style lang="scss" scoped>
.icon-jiankong{ font-size: 12px; height: 12px;color:#fff; }
</style>